<!DOCTYPE html>
{*<html lang="{$lang}" {if isset($cache)} manifest="{$basePath}/systemApps/{$appName}.appcache" {/if}>*}
<html lang="{$lang}">
    <head>
        <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
        <meta http-equiv="Content-Language" content="{$lang}" />
        <meta http-equiv="content-script-type" content="text/javascript" />
        <meta http-equiv="content-style-type" content="text/css" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />

        <meta name="description" content="Celebrio People Application" />
        <meta name="keywords" content="Celebrio People Application" />
        <meta name="copyright" content="Copyright 2011 Celebrio Software" />
        <meta name="author" content="all: Celebrio Software; celebrio@celebriosoftware.com" />

        <meta name="robots" content="{$robots}" n:ifset="$robots" />

        <title>{ifset $title}{$title}{elseifset $title}Celebrio app{/ifset}</title>

        <script type="text/javascript" src="{$basePath}/js/libs/jquery.js"></script>
        <script type="text/javascript" src="{$basePath}/js/libs/jquery-nette.js"></script>
        <script type="text/javascript" src="{$basePath}/js/libs/keyboard.js"></script>
        <script type="text/javascript" src="{$basePath}/js/libs/buttonizer.js"></script>

        <link rel="stylesheet" type="text/css" href="{$basePath}/css/MyFontsWebfontsOrderM3004233.css" />
        <link rel="stylesheet" type="text/css" href="{$basePath}/css/keyboard/default.css" />
        <!--
        WHY PEOPLE EVERYWHERE?
        <link rel="stylesheet" type="text/css" href="{$basePath}/systemApps/celebriopeople/default.css" />-->

        <link rel="shortcut icon" href="{$basePath}/favicon.ico" type="image/x-icon" />

        <!-- Custom head tags, use [block #custom_head] in your template file to define them-->
        @{block #custom_head }@{/block}
        <!-- Custom head tags end -->
        <script type="text/javascript">
            var basePath = {$basePath};
            butonize("input:submit");
            $(document).ready(function(){
                runCelebrioKeyboard({$full_lang});
                if (typeof document.body.onselectstart!="undefined")
                    document.body.onselectstart=function(){ return false }
                else if (typeof document.body.style.MozUserSelect!="undefined")
                    document.body.style.MozUserSelect="none";
                $(document.body).bind("contextmenu", function(e) {
                    e.preventDefault();
                    return false;
                });
                //TODO: developers mode only maybe could post in {*if*}
                applicationCache.update();
            });
        </script>
    </head>
    <body>

        <div id="celebriopeopleapp">
            <div id="celebriopeopleapp_contents">

                {foreach $flashes as $flash}<div class="flash {$flash->type}">{$flash->message}</div>{/foreach}
                @{block #main_content }@{/block}

            </div>
        </div>

    </body>
</html>